<?php
/**
 * User: lie
 * Date: 2020-11-07 21:20
 * description: 表格的动态创建
 */
for ($i = 0; $i < 5; $i++){          // 一层 FOR 循环
    echo "<table border='1'>";
        echo "<tr>";    // 行标签
        for ($j = 0; $j < 8; $j++){ // 二层 FOR 循环
            echo "<td>$j</td>";     // 列标签
        }
        echo "</tr>";
    echo "</table>";
}